<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib uri="/mytag" prefix="yjd" %>
<div class="wrap">
    <div class="nav">
        <button type="button" class="btn  length_2"
                onclick="window.location.href='${requestScope.FPWEB.rootPath }/user/growing/cs/import${requestScope.FPWEB.urlStuff}'">批量导入</button>
        <button type="button" class="btn  length_2"
                onclick="window.location.href='${requestScope.FPWEB.rootPath }/user/growing/cs/edit${requestScope.FPWEB.urlStuff}'">添加</button>
    </div>
    <div class="search_type cc mb10">
        <form method="post" id="sumary" autocomplete="off" action="${requestScope.FPWEB.rootPath }/user/growing/cs/relate/list${requestScope.FPWEB.urlStuff}" >
            <label>用户ID：</label> <input type="input" name="user_id" class="input length_3 mr10" value="${user_id}">
            <button type="submit" class="btn btn_submit length_1">搜索</button>
        </form>
    </div>

    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td width="130">用户ID</td>
                <td>微信客服</td>
                <td>操作</td>
            </tr>
            </thead>
            <tbody id="J_word_list">
            <c:forEach items="${pager.pagerModel.dataList }" var="item">
                <tr>
                    <td>${item.user_id}</td>
                    <td>${item.wx_customer_service }</td>
                    <td>
                        <li>
                            <a class="btn btn_orange" href="${requestScope.FPWEB.rootPath }/user/growing/cs/edit${requestScope.FPWEB.urlStuff}?user_id=${item.user_id}">编辑</a>
                            <a class="btn btn_red" href="${requestScope.FPWEB.rootPath }/user/growing/cs/delete${requestScope.FPWEB.urlStuff}?user_id=${item.user_id}">删除</a>
                        </li>
                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
    <!-- 分页 -->
    <div id="J_page_wrap">
        <%@ include file="../../public/pager/pager.pagination.jsp" %>
    </div>
</div>
